<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<title>我的书架 - 永久书架 - 笔趣阁</title>
<link rel="stylesheet" href="/css/style.css" />
<script type="text/javascript" src="https://apps.bdimg.com/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript" src="/js/compc.js?v=1.23"></script>
<script>
if(!getCookie('username')){location.href = "/user/login.html";}
function removeCase(obj,delid) {
    if (confirm('真的要删除此书架条目吗？此操作不可恢复!')) {
		$.getJSON("/user/action.html?action=delbook&delid="+delid+"&t="+new Date().getTime(),function(data){
            if (data==1) {
                $(obj).parent().parent().remove();
            }
            else {
                alert("删除失败");
            }
        });
    }
}
</script>
</head>
<body>
<div class="header_wap pc_none">
	<a class="home" href="javascript:history.go(-1);"><svg class="lnr lnr-chevron-left-circle"><use xlink:href="#lnr-chevron-left-circle"></use></svg></a>
	<span class="title"><script>document.writeln(getCookie('username'))</script>_我的书架</span>
	<a class="user" href="/"><svg class="lnr lnr-home"><use xlink:href="#lnr-home"></use></svg></a>
</div>
<div class="header_top"></div>
<div class="header">
	<div class="wrap">
		<div class="logo">
			<a href="/" title="笔趣阁">笔趣阁</a>
		</div>
		<div class="search"></div>
		<div class="share"><a href="/bookcase.html">阅读记录</a></div>
	</div>
	<div class="nav"><ul><li class="this"><a href="/">首页</a></li><li><a href="/xuanhuan/">玄幻</a></li><li><a href="/wuxia/">武侠</a></li><li><a href="/dushi/">都市</a></li><li><a href="/lishi/">历史</a></li><li><a href="/wangyou/">网游</a></li><li><a href="/kehuan/">科幻</a></li><li><a href="/mm/">女生</a></li><li><a href="/finish/">完本</a></li><li><a href="/top/">排行榜</a></li></ul></div>
<div class="clear"></div>
</div>
<div class="wrap">
	<div class="bookcase">
		<h2>永不丢失的书架,与电脑同步 <a rel="nofollow" href="javascript:logout();" class="bookbox_btn"><font color=red>退出登录</font></a></h2>
		<div class="read_book"><div class="tips" style="margin:10px;text-align:center">加载中……</div></div>
	</div>
</div>
<div class="footer_wap pc_none">
	<a href="#top"><svg class="lnr lnr-arrow-up-circle"><use xlink:href="#lnr-arrow-up-circle"></use></svg></a>
	<p class="version channel">
	<a href="/">首页</a>
	<a href="/user/bookcase.html">我的书架</a>
	<a href="/bookcase.html" >阅读记录</a>
	</p>
</div>
<div class="footer wap_none">
<hr>
	<p>本站所有小说为转载作品，所有章节均由网友上传，转载至本站只是为了宣传本书让更多读者欣赏。</p>
	<p>Copyright &#169; bqgda.cc All Rights Reserved.<a href="/map/">网站地图</a> <a href="/sitemap_0.xml">xml</a></p>
</div>
<script>tj();</script>
<script>
function loadmore(){
	$.getJSON("/user/action.html?action=bookcase&t="+new Date().getTime(),function(data){
		if(data==-1){setCookie("username",'',1);location.href = "/user/login.html";return false;}
        var strHtml = "";
		$.each(data,function(i,val){
			strHtml += '<div class="bookbox"><div class="box"><span class="num">'+(i+1)+'</span><div class="bookinfo"><h4 class="bookname"><a href="'+val.url_list+'">'+val.articlename+'</a></h4><div class="author">作者：'+val.author+'</div><div class="update"><span>最新章节：</span><a href="'+val.url_lastchapter+'">'+val.lastchapter+'</a></div><div class="update"><span>更新时间：</span>'+val.lastupdate+'</a></div><div class="update"><span>已读到：</span><a href="'+val.url_readchapter+'">'+val.readchapter+'</a></div></div><div class="delbutton"><a href="javascript:;" onclick="removeCase(this,\''+val.caseid+'\');">删除</a></div></div></div>';
		})
		if(strHtml==""){$(".tips").html('你的书架上没有书。');return false;}
		$(".read_book").html(strHtml);
    }).fail(function(data) {
		$(".tips").html("系统维护中，请稍后重试！");
    })
}
$(document).ready(function(){
	loadmore();
})
</script>
</body>
</html>